package com.huatai.dataservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author gusiyi
 * @version 1.0
 * @className SubjectDataSetEntity
 * @description 描述：
 * @date 2023/6/7 11:52
 */
@Data
@TableName("tb_subject_data_set")
@ApiModel(value = "主题数据集实体类",description = "主题数据集实体类")
public class SubjectDataSetEntity implements Serializable {

	@TableId(value = "id",type = IdType.ASSIGN_ID)
	@ApiModelProperty("主题数据集id")
	private Long id;

	@ApiModelProperty("主题目录id")
	private Long subjectDirectoryId;

	@ApiModelProperty("主题目录名称")
	private String subjectDirectoryName;

	@ApiModelProperty("主题数据集名称")
	private String subjectDataSetName;

	@ApiModelProperty("数据集描述")
	private String remark;

	@ApiModelProperty("数据接入任务类型编码")
	private Integer dataAccessTaskTypeNum;

	@ApiModelProperty("数据接入任务类型名称")
	private String dataAccessTaskTypeName;

	@ApiModelProperty("数据接入任务名称")
	private String dataAccessTaskName;

	@ApiModelProperty("数据接入任务表名")
	private String dataAccessTaskTable;

	@ApiModelProperty("创建人id")
	private Long createUserid;

	@TableField(fill = FieldFill.INSERT)
	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime createTime;

	@ApiModelProperty("更新人id")
	private Long updateUserid;

	@ApiModelProperty("更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

	@ApiModelProperty("删除标志(默认为0表示未删除)")
	@TableField(fill = FieldFill.INSERT)
	private Boolean deleted = Boolean.FALSE;

	@TableField(exist = false)
	@ApiModelProperty("当前页码")
	private Integer pageIndex;

	@TableField(exist = false)
	@ApiModelProperty("显示条数")
	private Integer pageSize;



}
